package com.mooc.ppjoke;

import com.bw.common.entity.RoomUserEntity;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {

    @GET("serverdemo/user/insert")
    Observable<RoomUserEntity> requestUser(@Query("avatar") String avatar,
                                           @Query("description") String description,
                                           @Query("expires_time") long expires_time,
                                           @Query("followCount") int followCount,
                                           @Query("likeCount") int likeCount,
                                           @Query("name") String name,
                                           @Query("qqOpenId") String qqOpenId,
                                           @Query("topCommentCount") int topCommentCount);

}
